﻿
namespace OneWorks.Web.Api.Controllers
{
    using Extension;
    using Common;
    using Common.Model;

    public class IconController : System.Web.Mvc.Controller
    {
        private readonly ImageHandle _imageHandle = new ImageHandle();

        public CustomJsonResult Add(IconModel model)
        {
            return new CustomJsonResult(_imageHandle.Add(model));
        }
    }
}
